package com.oauth.linkedin.client.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.oauth.components.client.beans.OAuthUrl;
import com.oauth.linkedin.client.beans.LinkedinModel;
import com.oauth.linkedin.client.beans.LinkedinOAuthVerifier;
import com.oauth.linkedin.client.beans.LinkedinUser;

public interface LinkedinRemoteServiceAsync {

	void getSignInUrl(AsyncCallback<OAuthUrl> callback);

	void getLinkedInData(LinkedinOAuthVerifier pOAuthVerifier,
			AsyncCallback<LinkedinModel> callback);

	void getConnections(AsyncCallback<List<LinkedinUser>> callback);

	void getUpdates(AsyncCallback<List<LinkedinUser>> callback);

	void updateStatus(String pText, AsyncCallback<Boolean> callback);
}
